package com.wiloon.java8x.design.pattern.decorator;

/*
 * Created by roy on 5/12/17;
 */
public abstract class Ingredient {
    public abstract String getDescription();

    public abstract double getCost();

    public void printDescription() {
        System.out.println(" Name " + this.getDescription());
        System.out.println(" Price RMB " + this.getCost());
    }
}